﻿using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;

namespace PublicLib.Def
{
    public static class PublicDef
    {
        public static Encoding PageEncoding
        {
            get { return Encoding.UTF8; }
        }
        public static byte[] GetByte(string param)
        {
            return PageEncoding.GetBytes(param);
        }
        public static string GetString(byte[] buffer)
        {
            return PageEncoding.GetString(buffer);
        }
    }
}
